

<html xmlns:th="http://www.thymeleaf.org" lang="en" class="no-js" >
  <head>

  </head>
  
  <body>
     <form action="/room/save" method="post" >
     <table>
     <tr>
     <td>
       	 房间编号:<input type="text" name="id" ></input>
     </td>
	 </tr>
	 
	 <tr>
     <td>

				类型：<select name="typeid" >
                     <option th:each="roomtype : ${roomtypesList}" th:value="${roomtype.id}" th:text="${roomtype.typename}">Volvo</option>
                 </select>            
     </td>
	 </tr>
	 
 	 <tr>
     <td>
       	  名称:<input type="text" name="name" ></input>
     </td>
	 </tr>

	 <tr>
     <td>

				位置：<select name="buildingid" >
                     <option th:each="building : ${buildingList}" th:value="${building.id}" th:text="${building.name}">Volvo</option>
                 </select>              
     </td>
	 </tr>

 	 <tr>
     <td>
       	  所在层:<input type="text" name="floorid" ></input>
     </td>
	 </tr>

 	 <tr>
     <td>
       	  面积:<input type="text" name="area" ></input>
     </td>
	 </tr>	
	 
 	 <tr>
     <td>
       	  部门:<input type="text" name="department" ></input>
     </td>
	 </tr>	 
 	 <tr>
     <td>
       	  管理员:<input type="text" name="admintor" ></input>
     </td>
	 </tr>

 	 <tr>
     <td>
       	  使用编号:<input type="text" name="usenumber" ></input>
     </td>
	 </tr>
 	 <tr>
     <td>
       	  申请时间:<input type="date" name="usetime" ></input>
     </td>
	 </tr>
 	 <tr>
     <td>
       	  结束使用时间:<input type="date" name="endusetime" ></input>
     </td>
	 </tr>	 
 	 <tr>
     <td>
       	  使用情况:<input type="text" name="inuse" ></input>
     </td>
	 </tr>	 	 	  	 	                        
 	 <tr>
     <td>
       	<input type="submit" value="添加"></input>
     </td>
	 </tr>
	                         
     </table>
     </form>
  </body>
</html>
